#!/bin/sh
cmddir="/data/pear/"
pearcvs="/data/pear/pear/"
resultdir="/home/cweiske/www/pear.cweiske.de/sloccount/"

echo "generating SLOCcount"
cd "$pearcvs"
sloccount --wide --multiproject . > "$resultdir/result.txt"
cd "$cmddir"
./sloc2html.py "$resultdir/result.txt" > "$resultdir/result.htm"
